package com.spring.jms.model;


import java.io.Serializable;

public class Spittle implements Serializable{
	private int id;
	private String msg;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public Spittle(int id, String string) {
		super();
		this.id = id;
		this.msg = string;
	}
	
	public String toString(){
		return "msg:"+msg;
	}
	
}
